package com.bwie.mq;

import com.bwie.pojo.vo.OrderParkVo;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class EwMonthProducer {
    @Autowired
    private AmqpTemplate amqpTemplate;

    public void toSms(OrderParkVo orderParkVo){

        amqpTemplate.convertAndSend("ewMonthkey",orderParkVo);

    }
}
